package com.qlhx.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.qlhx.common.model.ApiResult;
import com.qlhx.service.BaseClientService;

@RestController
public class FeignController {
	
	@Autowired
	BaseClientService baseClientService;
	
	@RequestMapping(value = "/aa")
    public String sayHello(String name){
		System.out.println(baseClientService +"00");
    	ApiResult<String> ar = baseClientService.islogin("sasadf");
    	System.out.println(ar.getMsg());
    	return "aa";
    }

	@RequestMapping(value = "/")
	public String sayHello(){
		return "aa";
	}

}
